package net.realsee.mapper.wcs.work;


import net.realsee.domain.wcs.work.WcsWarn;
import net.realsee.domain.wcs.work.bo.WcsWarnBo;
import net.realsee.domain.wcs.work.vo.WcsWarnVo;
import net.realsee.framework.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统告警信息Mapper接口
 *
 * @author realsee
 * @date 2023-08-24
 */
public interface WcsWarnMapper extends BaseMapperPlus<WcsWarnMapper, WcsWarn, WcsWarnVo> {

    /**
     * 根据warnClass,warnSubject查询告警列表
     * @param bo
     * @return
     */
    List<WcsWarn> selectListByWarnClassAndWarnSubject(WcsWarnBo bo);

    void updateByWarnClassAndWarnSubject(@Param("warnClass") String warnClass, @Param("warnSubject") String warnSubject);

    void deleteWarnData();
}
